package com.briup.smartlabs.service;

import com.briup.smartlabs.bean.ex.Device;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface SmartDeviceService {
	PageInfo<Device> findByCondition(
		int pageNum,int pageSize,String typeId,String key);
	
	void sendMessage(String command);

    void removeById(String id);

	Map<String, List<String>> removeByBatch(String[] ids);

    void saveOrUpdate(Device device);
}
